package cn.zc.student.service.service;

import cn.zc.student.entity.Dto.StudentExercisesResultDto;
import cn.zc.student.entity.StudentExercisesResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 学生练习题成绩 服务类
 * </p>
 *
 * @author keno
 * @since 2022-02-23
 */
public interface StudentExercisesResultService extends IService<StudentExercisesResult> {

    /**
     * 查询练习成绩接口
     * @param menuId
     * @param studentId
     * @return
     */
    StudentExercisesResultDto findStudentExercisesResult(String menuId, String studentId);

    /**
     * 创建学生对应目录分数
     * @param menuId
     * @param studentId
     * @param score
     * @return
     */
    boolean createStudentExercisesResult(String menuId, String studentId, String score);
}
